<template>
  <div class="app-container documentation-container">
    <a class="document-btn" target="_blank" href="https://www.cxsw3d.com/gongsijieshao.html">公司简介</a>
    <a class="document-btn" target="_blank" href="https://www.cxsw3d.com/3ddayinji.html">产品中心</a>
    <a class="document-btn" target="_blank" href="https://www.cxsw3d.com/xinwenzhongxin.html">新闻中心</a>
    <a class="document-btn" target="_blank" href="https://www.cxsw3d.com/jiaoyuxingye.html">解决方案</a>
    <dropdown-menu class="document-btn" :items="articleList" title="关于创想" />
    <a class="document-btn" target="_blank" href="https://www.crealitygroup.com/">在线商城</a>
  </div>
</template>

<script>
import DropdownMenu from '@/components/Share/DropdownMenu'

export default {
  name: 'Documentation',
  components: { DropdownMenu },
  data() {
    return {
      articleList: [
        { title: '品牌历程', href: 'https://www.cxsw3d.com/fazhanlicheng.html' },
        { title: '荣誉证书', href: 'https://www.cxsw3d.com/rongyuzhengshu.html' },
        { title: '合作伙伴', href: 'https://www.cxsw3d.com/hezuokehu.html' },
        { title: '公司环境', href: 'https://www.cxsw3d.com/gongsihuanjing.html' },
        { title: '联系我们', href: 'https://www.cxsw3d.com/lianxifangshi.html' },
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.documentation-container {
  margin: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;

  .document-btn {
    flex-shrink: 0;
    display: block;
    cursor: pointer;
    background: black;
    color: white;
    height: 60px;
    padding: 0 16px;
    margin: 16px;
    line-height: 60px;
    font-size: 20px;
    text-align: center;
  }
}
</style>
